
import Mavlink20 from "./mavlink20"

class CmdStreamFunction extends Mavlink20 {

    format = '<BBB';
    msg_id = 100097;
    order_map = [0, 1, 2];
    crc_extra = 106;
    name = 'CMD_STREAM_FUNCTION';

    constructor(func, type, result) {
        this.func = func
        this.type = type
        this.result = result
    }

    pack() {
        return super.pack(this, this.crc_extra, jspack.Pack(this.format, [this.func, this.type, this.result]))
    }

}

export default CmdStreamFunction